A Petri Net Semantics for B ( PN ) 2 with Procedures which Allows
نویسندگان
چکیده
Veriication of parallel programs is a very important goal on the way to improve the reliability of software. The PEP tool, a Programming Environment based on Petri nets, allows veriication of parallel programs by partial order model checking based on a compositional denotational Petri net semantics. The language supported by the PEP tool covers block structuring, parallel and sequential composition, choice, iteration, synchronous and asynchronous communication , including use of unbounded buuers. At present, it does not cover, however, the structuring of programs by procedures. The main contribution of this paper consists in the development of a fully compositional high level Petri net semantics for concurrent programs with procedures, covering recursion, global variables, and many types of parameter passing (including call-by-reference). The semantics will guarantee that the semantical model (HL and LL nets) of program P is nite whenever: P has only nite data types. For each procedure in P only a nitely many instances can be active concurrently. Due to the abstract and exible nature of the Petri net model used, our approach is very general and may also be applied to other speciication and programming languages. This has already (partially) been done for the Speciication and Description Language (SDL).
منابع مشابه
A Petri Net Semantics for B(PN)2 with Procedures
Veriication of parallel programs is a very important goal on the way to improve the reliability of software. The PEP tool, a Programming Environment based on Petri nets, allows veriication of parallel programs by partial order model checking based on a compositional denotational Petri net semantics. The language supported by the PEP tool covers block structuring, parallel and sequential composi...
متن کاملOB(PN)²: An Object Based Petri Net Programming Notation (Extended Abstract)
In this paper we present a translation from the object-based language OB(PN) 2 to a class of high-level Petri nets. The OB(PN) 2 language is an extension of B(PN) 2 as deened by Best and Hopkins, and the semantics is inspired by the B(PN) 2 semantics deened in terms of M-nets. The translation relies on the CCS-like composition operators deened for M-nets. Each program construct is translated to...
متن کاملAn M-net Semantics of B(pn) 2
Using a class of high level Petri nets, M-nets, endowed with composition operators resembling those of CCS, we give the compositional semantics of B(PN) 2-a syntactically simple but semantically powerful concurrent programming language. We also give an associated low level net semantics and show the consistency of these high and low level semantics , as well as consistency with a previously dee...
متن کاملOob(pn) 2 : an Object Oriented Petri Net Programming Notation (a Status Report)
In this paper we present an overview of the basic ideas involved in an ongoing project for giving Petri net semantics to an object-oriented language. At present the emphasis is not in the development of the language, but in the study of how far one can get with the existing Petri net machinery. The OOB(PN) 2 language is an extension of B(PN) 2 as deened by Best and Hopkins, and the semantics is...
متن کاملB(PN)2 - a Basic Petri Net Programming Notation
This paper presents the syntax of a concurrent programming notation which integrates a variety of process interaction techniques, its compositional Petri net semantics via the Box calculus, and an example of using the semantics for program verification.
متن کامل